<?
class Logout extends Controller {
	function Logout() {

	}

	function execute() {
		$this->executeLogout();
	}

	function executeLogout() {
		$_SESSION['isLogin'] = '';
		$_SESSION['user_id'] = '';
		$_SESSION['user_name'] = '';
		$_SESSION['user_email'] = '';
		$_SESSION['user_gender'] = '';
		$_SESSION['is_jung'] = '';
		
		// 로그아웃 완료. 적당한 페이지로 이동
		$this->result_uri = $this->baseClass.'/Login';
		$this->redirect();
	}
}
?>
